package com.itheima.service.impl;

import com.itheima.domain.UserInfo;
import com.itheima.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import com.itheima.service.UserInfoService;

import java.util.List;

public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public List<UserInfo> findAll() {
        return userInfoMapper.findAll();
    }
}
